package homeWork.SOC5.mission_1;

/**
 * 测试类
 */
public class TestUSB {
    public static void main(String[] args){
        //实例化接口对象指向UDisk类
        UsbInterface uDisk = new UDisk();
        uDisk.service();

        //实例化接口对象指向UFun类
        UsbInterface uFun = new UFun();
        uFun.service();

        //实例化接口对象指向UMouse类
        UsbInterface uMouse = new UMouse();
        uMouse.service();
    }
}
